#ifndef moleCalculator_H
#define moleCalculator_H
/***************************************************************************
    copyright            : Kashyap R Puranik
    email                : kashthealien@gmail.com
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#include <kdialog.h>
#include "ui_moleCalculator.h"
#include "kalziumdataobject.h"
#include "kalziumutils.h"
#include "nuclearCalculator.h"

class KActionCollection;

/**
 * This widget implements the molecular calculator
 * You can perform basic calculations using this
 * @author Kashyap R Puranik
 */
class moleCalculator: public KDialog
{
    Q_OBJECT

    public:
        moleCalculator ( QWidget *parent = 0 );

        ~moleCalculator();

    private: 
        Ui::moleCalculator ui;
        KActionCollection* m_actionCollection;
   		nuclearCalculator  m_nuclearCalculator;		
		
    private slots:
		void elementChanged_nuCal ( int index );
		void isotopeChanged_nuCal ( int index );
		void halfLifeChanged_nuCal ( double value );
		void calculate_nuCal ( void );
		void initAmtChanged_nuCal ( );
		void finalAmtChanged_nuCal ( );
		void timeChanged_nuCal ( );
		
    public slots:
};

#endif // moleCalculator_H

